stylecontext: Make sure style is valid when looking up style properties
authorBenjamin Otte <otte@redhat.com>
Sat, 10 Oct 2015 21:21:45 +0000 (23:21 +0200)
committerBenjamin Otte <otte@redhat.com>
Sat, 10 Oct 2015 21:23:34 +0000 (23:23 +0200)
commitbddc524cd84b76d1c25c7700eca9d3a25db30cf6
tree6202913b4cc9a107169eac6a46463af6b0e1459a
parent74e02842bbf832c32fb6d36692b760aefb05682e
stylecontext: Make sure style is valid when looking up style properties

Otherwise, the validation may happen vey automatically some time during
the style property and that will most likely cause a crash.

https://bugzilla.gnome.org/show_bug.cgi?id=756338
gtk/gtkstylecontext.c